import { Devcloud } from "../apiClass"
import { IResult } from "../../plugins/Interfaces"


export class FuzzySearchApi extends Devcloud{
  private baseUrl: string = this.path + 'fuzzysearch/';
  async list(keyword:string):Promise<IResult> {
    const resp = await this.client.post(this.baseUrl + "list", {keyword:keyword, typeId:"1"})
    return resp.data
  }
}